﻿// ConsoleApplication1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//

#include <iostream>
#include "Complex.h"

using namespace std;
int main()
{
    Complex c1(1.1, 2.2);
    Complex c2(1.1, 2.2);
    //c1 += c2;
    //Complex c = c1;
    //cout << c1.getReal() <<" " << c1.getImage() << endl;
    //cout << c.getReal() << " " << c.getImage() << endl;
    //cout << c;   cin >> c;
    //Complex c = (c1 + c2);
    //cout << c.getReal() << " " << c.getImage() << endl;
    //cout << (c1 == c2) << endl;

    //cout << c1 << endl;
    Complex c;
    cin >> c;
    cout << c;
}

